package com.imti.mall.product.service;

import com.imti.mall.model.pms.pojo.PmsBrand;
import com.imti.mall.model.pms.vo.PmsBrandVo;
import com.imti.mall.product.mapper.PmsBrandCategoryDynaSqlProvider;
import org.apache.ibatis.annotations.SelectProvider;

import java.util.List;

/**
 * ClassName: PmsBrandService
 * Description:
 * date: 2022/9/13 11:10
 *
 * @author: youhun
 * @version:
 * @since JDK 1.8
 */
public interface PmsBrandService  {

    /**
     * 添加商品品牌表
     * @param pmsBrand
     * @return
     */
    public boolean addPmsBrand(PmsBrand pmsBrand);

    /**
     * 修改商品品牌表
     * @param pmsBrand
     * @return
     */
    public boolean updatePmsBrandById(PmsBrandVo pmsBrand);

    /**
     * 添加商品品牌表
     * @param Id
     * @return
     */
    public boolean deletePmsBrandById(Integer Id);

    /**
     * 按照条件查询商品品牌列表
     * @param pmsBrand
     * @param pageSize
     * @param pageNum
     * @return
     */
    public List<PmsBrand> findPmsBrand(PmsBrand pmsBrand,  Integer pageSize, Integer pageNum);

    /**
     *根据id查询商品品牌详情
     * @param Id
     * @return
     */
    public PmsBrand getPmsBrandById(Integer Id);

    /**
     * 查询商品品牌列表总条数
     * @param pmsBrand
     * @return
     */
    public Integer getPmsBrand(PmsBrand pmsBrand);

}
